package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiBusi;
import com.tjmc.tiomscore.model.TiBusiExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiBusiMapper {
    long countByExample(TiBusiExample example);

    int deleteByExample(TiBusiExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TiBusi record);

    int insertSelective(TiBusi record);

    List<TiBusi> selectByExample(TiBusiExample example);

    TiBusi selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TiBusi record, @Param("example") TiBusiExample example);

    int updateByExample(@Param("record") TiBusi record, @Param("example") TiBusiExample example);

    int updateByPrimaryKeySelective(TiBusi record);

    int updateByPrimaryKey(TiBusi record);

    void truncateTable();

    void insertDataFromTranPtnBusi();
}